package com.ruoyi.ltd_web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品资料明细项对象 ltd_product_detail_item
 *
 * @author ruoyi
 * @date 2025-03-17
 */
public class LtdProductDetailItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 明细ID */
    @Excel(name = "明细ID")
    private Long detailId;

    /** 类型0文字1图片 */
    @Excel(name = "类型0文字1图片")
    private Long type;

    /** 文字介绍 */
    @Excel(name = "文字介绍")
    private String intro;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pictureUrl;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 状态0正常1停止 */
    @Excel(name = "状态0正常1停止")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setDetailId(Long detailId)
    {
        this.detailId = detailId;
    }

    public void setProductId(Long productId) {this.productId = productId;}
    public Long getProductId() {return productId;}

    public Long getDetailId()
    {
        return detailId;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setIntro(String intro)
    {
        this.intro = intro;
    }

    public String getIntro()
    {
        return intro;
    }
    public void setPictureUrl(String pictureUrl)
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl()
    {
        return pictureUrl;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createName", getCreateName())
            .append("createId", getCreateId())
            .append("productId", getProductId())
            .append("detailId", getDetailId())
            .append("type", getType())
            .append("intro", getIntro())
            .append("pictureUrl", getPictureUrl())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .toString();
    }
}
